define({ "api": [
  {
    "type": "get",
    "url": "admin/Test/postUser",
    "title": "测试管理",
    "version": "0.1.0",
    "name": "postUser",
    "group": "Test",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>Users unique ID.</p>"
          }
        ]
      }
    },
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "string",
            "optional": false,
            "field": "AdminToken",
            "description": "<p>Users unique AdminToken.</p>"
          },
          {
            "group": "Header",
            "type": "string",
            "optional": false,
            "field": "AdminAdminId",
            "description": "<p>Users unique AdminToken.</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "firstname",
            "description": "<p>Firstname of the User.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "lastname",
            "description": "<p>Lastname of the User.</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"id\": 1,\n  \"name\": \"张三\"\n}",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://www.newljj.com/index.php/admin/Test/postUser"
      }
    ],
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "UserNotFound",
            "description": "<p>The id of the User was not found.</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "HTTP/1.1 404 Not Found\n{\n  \"error\": \"UserNotFound\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "app/admin/controller/Test.php",
    "groupTitle": "Test"
  },
  {
    "type": "get",
    "url": "admin/Common/commonList",
    "title": "获取下拉信息",
    "version": "0.1.0",
    "name": "commonList",
    "group": "公共接口",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "pollutant_source_name",
            "description": "<p>污染源单位名称.</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "be_affiliation",
            "description": "<p>所属机构.</p>"
          }
        ]
      }
    },
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "string",
            "optional": false,
            "field": "AdminToken",
            "description": "<p>返回的token.</p>"
          },
          {
            "group": "Header",
            "type": "string",
            "optional": false,
            "field": "AdminAdminId",
            "description": "<p>用户id .</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "firstname",
            "description": "<p>Firstname of the User.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "lastname",
            "description": "<p>Lastname of the User.</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"id\": 1,\n  \"name\": \"张三\"\n}",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://www.newljj.com/index.php/admin/Common/commonList"
      }
    ],
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "UserNotFound",
            "description": "<p>The id of the User was not found.</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "HTTP/1.1 404 Not Found\n{\n  \"error\": \"UserNotFound\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "app/admin/controller/Common.php",
    "groupTitle": "公共接口"
  },
  {
    "type": "get",
    "url": "admin/AdminLogin/login",
    "title": "登录",
    "version": "0.1.0",
    "name": "login",
    "group": "后台登录接口",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "username",
            "description": "<p>用户名称.</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "password",
            "description": "<p>密码.</p>"
          }
        ]
      }
    },
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "string",
            "optional": false,
            "field": "AdminToken",
            "description": "<p>返回的token.</p>"
          },
          {
            "group": "Header",
            "type": "string",
            "optional": false,
            "field": "AdminAdminId",
            "description": "<p>用户admin_admin_id .</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "admin_admin_id",
            "description": "<p>用户id.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "admin_token",
            "description": "<p>用户token.</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n      code: 200,\n      msg: \"登录成功\",\n      data: {\n      admin_admin_id: 2,\n      admin_token: \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJsampBZG1pbiIsImlhdCI6MTYyOTE2Nzg2OCwibmJmIjoxNjI5MTY3ODY4LCJleHAiOjE2MjkyMTEwNjgsImRhdGEiOnsiYWRtaW5fYWRtaW5faWQiOjIsImxvZ2luX3RpbWUiOiIyMDIxLTA4LTE3IDEwOjM3OjQ4IiwibG9naW5faXAiOiIxMjcuMC4wLjEifX0.QhnW5Y-3QiQ1tJBkpIHkhIcBr6JplHaI_byvZxN9k8E\"\n          }\n      }",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://www.newljj.com/index.php/admin/AdminLogin/login"
      }
    ],
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "UserNotFound",
            "description": "<p>The id of the User was not found.</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "HTTP/1.1 404 Not Found\n{\n  \"error\": \"UserNotFound\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "app/admin/controller/AdminLogin.php",
    "groupTitle": "后台登录接口"
  },
  {
    "type": "get",
    "url": "admin/AdminMenu/menuAdd",
    "title": "菜单添加",
    "version": "0.1.0",
    "name": "menuAdd",
    "group": "后台登录接口",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "menu_pid",
            "description": "<p>菜单父级id.</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "menu_name",
            "description": "<p>菜单名称.</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "menu_url",
            "description": "<p>菜单链接.</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "menu_sort",
            "description": "<p>菜单排序.</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "menu_request",
            "description": "<p>请求参数.</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "menu_response",
            "description": "<p>返回参数.</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "menu_explain",
            "description": "<p>说明.</p>"
          }
        ]
      }
    },
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "string",
            "optional": false,
            "field": "AdminToken",
            "description": "<p>返回的token.</p>"
          },
          {
            "group": "Header",
            "type": "string",
            "optional": false,
            "field": "AdminAdminId",
            "description": "<p>用户admin_admin_id .</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "firstname",
            "description": "<p>Firstname of the User.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "lastname",
            "description": "<p>Lastname of the User.</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"code\": 200,\n  \"msg\": \"操作成功\",\n  \"data\": {\n  \"admin_menu_id\": 124,\n  \"menu_pid\": 123,\n  \"menu_name\": \"用户列表\",\n  \"menu_url\": \"admin/User/userList\",\n  \"menu_sort\": 200,\n  \"menu_request\": \"\",\n  \"menu_response\": \"\",\n  \"menu_explain\": \"\",\n  \"is_disable\": 0,\n  \"is_unauth\": 0,\n  \"is_delete\": 0,\n  \"create_time\": null,\n  \"update_time\": null,\n  \"delete_time\": null\n  }\n  }",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://www.newljj.com/index.php/admin/AdminMenu/menuInfo"
      }
    ],
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "UserNotFound",
            "description": "<p>The id of the User was not found.</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "HTTP/1.1 404 Not Found\n{\n  \"error\": \"UserNotFound\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "app/admin/controller/AdminMenu.php",
    "groupTitle": "后台登录接口"
  },
  {
    "type": "get",
    "url": "admin/AdminMenu/menuInfo",
    "title": "菜单信息",
    "version": "0.1.0",
    "name": "menuInfo",
    "group": "后台登录接口",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "admin_menu_id",
            "description": "<p>菜单id.</p>"
          }
        ]
      }
    },
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "string",
            "optional": false,
            "field": "AdminToken",
            "description": "<p>返回的token.</p>"
          },
          {
            "group": "Header",
            "type": "string",
            "optional": false,
            "field": "AdminAdminId",
            "description": "<p>用户admin_admin_id .</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "firstname",
            "description": "<p>Firstname of the User.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "lastname",
            "description": "<p>Lastname of the User.</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"code\": 200,\n  \"msg\": \"操作成功\",\n  \"data\": {\n  \"admin_menu_id\": 124,\n  \"menu_pid\": 123,\n  \"menu_name\": \"用户列表\",\n  \"menu_url\": \"admin/User/userList\",\n  \"menu_sort\": 200,\n  \"menu_request\": \"\",\n  \"menu_response\": \"\",\n  \"menu_explain\": \"\",\n  \"is_disable\": 0,\n  \"is_unauth\": 0,\n  \"is_delete\": 0,\n  \"create_time\": null,\n  \"update_time\": null,\n  \"delete_time\": null\n  }\n  }",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://www.newljj.com/index.php/admin/AdminMenu/menuInfo"
      }
    ],
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "UserNotFound",
            "description": "<p>The id of the User was not found.</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "HTTP/1.1 404 Not Found\n{\n  \"error\": \"UserNotFound\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "app/admin/controller/AdminMenu.php",
    "groupTitle": "后台登录接口"
  },
  {
    "type": "get",
    "url": "admin/AdminMenu/menuList",
    "title": "拉取用户权限列表",
    "version": "0.1.0",
    "name": "menuList",
    "group": "后台登录接口",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "firstname",
            "description": "<p>Firstname of the User.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "lastname",
            "description": "<p>Lastname of the User.</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"code\": 200,\n  \"msg\": \"操作成功\",\n  \"data\": {\n  \"verify_switch\": true,\n  \"verify_id\": \"507bd1f88b9dc72ff9756e8a6cfb2013\",\n  \"verify_src\": \"\"\n       }\n  }",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://www.newljj.com/index.php/admin/AdminMenu/menuList"
      }
    ],
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "UserNotFound",
            "description": "<p>The id of the User was not found.</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "HTTP/1.1 404 Not Found\n{\n  \"error\": \"UserNotFound\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "app/admin/controller/AdminMenu.php",
    "groupTitle": "后台登录接口"
  },
  {
    "type": "get",
    "url": "admin/AdminLogin/verify",
    "title": "验证码",
    "version": "0.1.0",
    "name": "verify",
    "group": "后台登录接口",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "firstname",
            "description": "<p>Firstname of the User.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "lastname",
            "description": "<p>Lastname of the User.</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"code\": 200,\n  \"msg\": \"操作成功\",\n  \"data\": {\n  \"verify_switch\": true,\n  \"verify_id\": \"507bd1f88b9dc72ff9756e8a6cfb2013\",\n  \"verify_src\": \"\"\n       }\n  }",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://www.newljj.com/index.php/admin/AdminLogin/verify"
      }
    ],
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "UserNotFound",
            "description": "<p>The id of the User was not found.</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "HTTP/1.1 404 Not Found\n{\n  \"error\": \"UserNotFound\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "app/admin/controller/AdminLogin.php",
    "groupTitle": "后台登录接口"
  }
] });
